/*
 * StoreBO.java
 *
 * Created on February 13, 2007
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package finalintex2web;
import java.util.*;

/**
 * Business object for stores
 * @author craig marshall
 */
public class StoreBO {
    
    private String id = null,location = null, manager = null, address = null, phone = null;
    private boolean indb = false , dirty = false;
   
    
    
    
    /** Creates a new instance of StoreBO */
    StoreBO(String id) {
        this.setId(id);
        
    }

    /**
     * 
     * @return 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
        this.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public String getLocation() {
        return location;
    }

    /**
     * 
     * @param location 
     */
    public void setLocation(String location) {
        this.location = location;
        this.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public String getManager() {
        return manager;
    }

    /**
     * 
     * @param manager 
     */
    public void setManager(String manager) {
        this.manager = manager;
        this.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public String getAddress() {
        return address;
    }

    /**
     * 
     * @param address 
     */
    public void setAddress(String address) {
        this.address = address;
        this.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 
     * @param phone 
     */
    public void setPhone(String phone) {
        this.phone = phone;
        this.setDirty(true);
    }

    /**
     * 
     * @return 
     */
    public boolean isIndb() {
        return indb;
    }

    /**
     * 
     * @param indb 
     */
    public void setIndb(boolean indb) {
        this.indb = indb;
    }

    /**
     * 
     * @return 
     */
    public boolean isDirty() {
        return dirty;
    }

    /**
     * 
     * @param dirty 
     */
    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }
    
}
    